package com.wowocai.btchina.utils.ip;

import java.io.Serializable;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

public class Area implements Serializable {

    /**
     * 
     */
    private static final long serialVersionUID = 613666941200364951L;

    /**
 */
    public Area() {}

    public Area(String code, String countryEn, String countryCn, String timeZone) {
        this.code = code;
        this.countryEn = countryEn;
        this.countryCn = countryCn;
        this.timeZone = timeZone;
    }

    // 国家名称(中文)
    private String countryCn;

    // 国家名字(英文)
    private String countryEn;

    // 国家名称(繁体)
    private String countryTw;

    // 国家代码(如中国CN)
    private String code;

    // 国家地理ID
    private Integer geonameId;

    private String timeZone;// 国家时区

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getGeonameId() {
        return geonameId;
    }

    public void setGeonameId(Integer geonameId) {
        this.geonameId = geonameId;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.SIMPLE_STYLE);
    }


    /**
     * timeZone.
     * @return the timeZone
     */

    public String getTimeZone() {
        return timeZone;
    }


    /**
     * timeZone.
     * @param timeZone the timeZone to set
     */

    public void setTimeZone(String timeZone) {
        this.timeZone = timeZone;
    }


    /**
     * countryCn.
     * @return the countryCn
     */

    public String getCountryCn() {
        return countryCn;
    }


    /**
     * countryCn.
     * @param countryCn the countryCn to set
     */

    public void setCountryCn(String countryCn) {
        this.countryCn = countryCn;
    }


    /**
     * countryEn.
     * @return the countryEn
     */

    public String getCountryEn() {
        return countryEn;
    }


    /**
     * countryEn.
     * @param countryEn the countryEn to set
     */

    public void setCountryEn(String countryEn) {
        this.countryEn = countryEn;
    }


    /**
     * countryTw.
     * @return the countryTw
     */

    public String getCountryTw() {
        return countryTw;
    }


    /**
     * countryTw.
     * @param countryTw the countryTw to set
     */

    public void setCountryTw(String countryTw) {
        this.countryTw = countryTw;
    }

}
